package com.dq.Service;

import com.dq.Pojo.Subwork;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SubworkService {
     List<Subwork> find(Integer id);


    void add(Subwork subwork);

    Subwork findByid(Integer homeworkId, Integer stuId);

    void update(Subwork subwork);

    Subwork review(Integer homeworkId, Integer stuId);

    PageInfo<Subwork> getworkgrade(Integer pageNum, Integer pageSize, Integer stuId,Integer courseId,String type);

    PageInfo<Subwork> getgradeAll(Integer pageNum, Integer pageSize, Integer courseId,Integer classId, String stuId, String type);
}
